﻿@model JSonTest.Customers

@{
		ViewBag.Title = "Details";
		Layout = "~/Views/Shared/_Layout.cshtml";
}
<br/>

<div class="panel panel-primary">
		<div class="panel-heading"><h4>@ViewBag.Title @Model.Firstname @Model.Lastname</h4></div>
		<div class="panel-body">
			<hr/>
		<dl class="dl-horizontal">
		<dt>
			@Html.DisplayNameFor(model => model.Firstname)
		</dt>

		<dd>
			@Html.DisplayFor(model => model.Firstname)
		</dd>

		<dt>
			@Html.DisplayNameFor(model => model.Lastname)
		</dt>

		<dd>
			@Html.DisplayFor(model => model.Lastname)
		</dd>

		<dt>
			@Html.DisplayNameFor(model => model.Telephone)
		</dt>

		<dd>
			@Html.DisplayFor(model => model.Telephone)
		</dd>

		<dt>
			@Html.DisplayNameFor(model => model.Birthdate)
		</dt>

		<dd>
			@Html.DisplayFor(model => model.Birthdate)
		</dd>

		<dt>
			@Html.DisplayNameFor(model => model.City)
		</dt>

		<dd>
			@Html.DisplayFor(model => model.City)
		</dd>

	</dl>
</div>
</div>


		@*<p>
				@Html.ActionLink("Edit", "Edit", new { id = Model.customer_id }) |
				@Html.ActionLink("Back to List", "Index", "Home")*@

				<a href="@Url.Action("Edit", "CustomersEF", new { id = Model.customer_id })" class="btn btn-info"><span class="glyphicon glyphicon-edit">&nbsp;</span>Edit</a>		|
				<a href="@Url.Action("Index", "Home")" class="btn btn-primary"><span class="glyphicon glyphicon-arrow-left">&nbsp;</span>Back to List</a>
		</p>
